﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using WebApp.Authorization.Roles;
using WebApp.Authorization.Users;
using WebApp.MultiTenancy;
using WebApp.Navigations;

using WebApp.Companys;

namespace WebApp.EntityFrameworkCore
{
    public class WebAppDbContext : AbpZeroDbContext<Tenant, Role, User, WebAppDbContext>
    {
        /* Define a DbSet for each entity of the application */
        
       public virtual DbSet<UiMenu> UiMenus { get; set; }
       public virtual DbSet<MenuElement> MenuElements { get; set; }
       public virtual DbSet<Company> Companys { get; set; }
        public WebAppDbContext(DbContextOptions<WebAppDbContext> options)
            : base(options)
        {
        }
    }
}
